package com.qianli.cashmama.trade.client.bill.response;

import com.qianli.cashmama.trade.client.vo.BillVO;
import com.qianli.cashmama.trade.common.enums.TradeStatusEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 *
 * @author daixianjun
 * @date 2017/12/10
 */
public class TradeDetailResponse implements Serializable{
    /**
     * 交易编码
     */
    private String tradeNo;
    /**
     * 订单状态
     */
    private TradeStatusEnum tradeOrderStatus;

    /****
     * 订单状态名称
     */
    private String tradeOrderStatusName;

    /**
     * 借款总金额
     */
    private BigDecimal borrowTotalCapital;
    /**
     * 到账总金额
     */
    private BigDecimal receivedTotalCapital;
    /**
     * 应还总金额
     */
    private BigDecimal repaymentTotalCapital;
    /**
     * 已还总金额
     */
    private BigDecimal paidTotalCapital;

    /****
     * 账单信息
     */
    private List<BillVO> billVOList;

    public String getTradeOrderStatusName() {
        return tradeOrderStatusName;
    }

    public TradeDetailResponse setTradeOrderStatusName(String tradeOrderStatusName) {
        this.tradeOrderStatusName = tradeOrderStatusName;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public TradeDetailResponse setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public TradeStatusEnum getTradeOrderStatus() {
        return tradeOrderStatus;
    }

    public TradeDetailResponse setTradeOrderStatus(TradeStatusEnum tradeOrderStatus) {
        this.tradeOrderStatus = tradeOrderStatus;
        return this;
    }

    public BigDecimal getBorrowTotalCapital() {
        return borrowTotalCapital;
    }

    public TradeDetailResponse setBorrowTotalCapital(BigDecimal borrowTotalCapital) {
        this.borrowTotalCapital = borrowTotalCapital;
        return this;
    }

    public BigDecimal getReceivedTotalCapital() {
        return receivedTotalCapital;
    }

    public TradeDetailResponse setReceivedTotalCapital(BigDecimal receivedTotalCapital) {
        this.receivedTotalCapital = receivedTotalCapital;
        return this;
    }

    public BigDecimal getRepaymentTotalCapital() {
        return repaymentTotalCapital;
    }

    public TradeDetailResponse setRepaymentTotalCapital(BigDecimal repaymentTotalCapital) {
        this.repaymentTotalCapital = repaymentTotalCapital;
        return this;
    }

    public BigDecimal getPaidTotalCapital() {
        return paidTotalCapital;
    }

    public TradeDetailResponse setPaidTotalCapital(BigDecimal paidTotalCapital) {
        this.paidTotalCapital = paidTotalCapital;
        return this;
    }

    public List<BillVO> getBillVOList() {
        return billVOList;
    }

    public TradeDetailResponse setBillVOList(List<BillVO> billVOList) {
        this.billVOList = billVOList;
        return this;
    }

    @Override
    public String toString() {
        return "TradeDetailResponse{" +
                "tradeNo='" + tradeNo + '\'' +
                ", tradeOrderStatus=" + tradeOrderStatus +
                ", tradeOrderStatusName='" + tradeOrderStatusName + '\'' +
                ", borrowTotalCapital=" + borrowTotalCapital +
                ", receivedTotalCapital=" + receivedTotalCapital +
                ", repaymentTotalCapital=" + repaymentTotalCapital +
                ", paidTotalCapital=" + paidTotalCapital +
                ", billVOList=" + billVOList +
                '}';
    }
}
